<?php

namespace App\Repository\Repositories;

use App\Repository\Repositories\Interfaces\ReportRepository;
use App\Repository\Models\Report;

/**
 * Class ReportRepositoryEloquent.
 *
 * @package namespace App\Repository\Repositories;
 */
class ReportRepositoryEloquent extends BaseRepository implements ReportRepository
{
    /**
     * 搜索
     * @var array
     */
    protected $fieldSearchable = [
        'user_name',
        'product_name',
        'shop_name',
        'report_type',
        'created_at' => 'between',
        'status' ,
    ];

    /**
     * Specify Model class name
     *
     * @return string
     */
    public function model()
    {
        return Report::class;
    }
}
